package com.cxx.java.spring.ioc.demo;

import lombok.Data;

@Data
public class Demo1 {
    private Integer id;
    private String name;
    public Demo1(){
        System.out.println("Demo1对象被产生了...");
    }
    public void print(){
        System.out.println("我的id是:"+id+"姓名是:"+name);
    }
}
